#!/usr/bin/env node

const fs = require('fs');

const dir = process.argv[2] || __dirname;

const stdout = process.stdout;

//console.log(fs.readdirSync(dir))
//fs.readdirSync(dir).forEach((e)=>console.log(e));

fs.readdirSync(dir).forEach((e)=>stdout.write(e));
